home *** CD-ROM | disk | FTP | other *** search
/ Joystick Magazine 1996 May / cd joy 71No13.iso / pc / demos / eurosoc / source / euro_var.h < prev    next >
C/C++ Source or Header  |  1996-03-20  |  9KB  |  306 lines

  1. extern    char                *EuroDATfile;
  2. extern    char                *EuroOFFSETfile;
  3. extern    char                *EuroSCRIPTfile;
  4.  
  5. extern    char                version;
  6. extern    char                sub_version;
  7. extern    char                day;
  8. extern    char                month;
  9. extern    short                year; 
  10. extern    char                EUROsymbol;
  11. extern    int                EUROerror;
  12. extern    char                EUROverbose;
  13. extern    char                EUROfrontend;
  14. extern    char                EUROconsole;
  15.  
  16. extern    char                *EuroGDVfile;
  17. extern    volatile    char    LogicState;
  18. extern    unsigned int     EuroHandle;
  19. extern    BYTE                *EuroPseudoBuffer;
  20. extern    BYTE                *EuroBackgroundBuffer;
  21. extern    char                TexturePagesAvailable;
  22. extern    BYTE                *TexturePages;
  23. extern    BYTE                *TexturePageMemHandle;
  24. extern    BYTE                *TextStrings;
  25. extern    BYTE                *TextStringMemHandle;
  26. extern    int                Image_Xcoords[];
  27. extern    int                Image_Ycoords[];
  28. extern    int                Image_Widths[];
  29. extern    int                  Image_Heights[];
  30. extern    char                Image_Pages[];
  31. extern    BYTE                *Text[];
  32. extern    BYTE                *Clubnames[];
  33. extern    BYTE                *SPEECH_identifier[];
  34. extern    char                PlayerPosns[];
  35. extern    char                StarPlayers[];
  36. extern     char                LinkPlayers[];
  37. extern    char                DOBday[];
  38. extern    char                DOBmonth[];
  39. extern    char                DOByear[];
  40. extern    char                NamePREFIXtbl[16*20];
  41.  
  42. extern    offset_defn        Offset_table[];
  43. extern    texture_info     FrontendTextureDEFN;
  44. extern    pseudo_info     FrontendPseudoDEFN;
  45. extern    pseudo_info     FrontendBackgroundDEFN;
  46. extern    slider_info        ModemSelectDEFN;
  47. extern    char                 StringBuffer[];
  48. extern    char                Templete[];
  49. extern    char                 BuildBuffer[];
  50. extern    char                EUROammount[];
  51.  
  52. extern    char                KeyInput[];
  53. extern    char                TextEditBuffer[];
  54. extern    short                TextEditXposn;
  55. extern    char                EuroTextEditState;
  56.  
  57. extern    BYTE              PaletteBuffer[];
  58. extern   BYTE                 FilterBuffer[];
  59. extern    BYTE                 SparePaletteBuffer[];
  60. extern    fixed                DivisionTable[];
  61. extern    fixed                CurrentPalette[];
  62. extern    fixed                FadeCounter;
  63.  
  64. extern    char                 svalue;
  65. extern    unsigned char  pmin, pmax;
  66. extern    BYTE                *ftable;
  67. extern    signed char        box;
  68.  
  69. extern    char                Team;
  70. extern    char                Menu;
  71. extern    signed char        MarkPlayer;
  72. extern    signed char        ViewPlyrStats;
  73. extern    signed short    SquadBuffer1yposn;
  74. extern    float                EuroReDrawCounter;
  75. extern    signed char     EuroReDrawFlag;
  76.  
  77. extern    int                TeamTactics[(32*2)+6][10][2];
  78. extern    signed char      Bounding_box;
  79. extern    signed char        ClickBOX;
  80. extern    animation_info    Animation_table[];
  81.  
  82. extern    float                SelectionCounter;
  83. extern    float                SelectionSpeed;
  84. extern    signed char        SelectionFlag;
  85. extern    signed int         SelectionAim;
  86. extern    signed char        SelectDir;
  87. extern    fixed                SelectFrame;
  88. extern    fixed                CursorDisplaySpeed;
  89.  
  90. extern    char                EuroVideoStatus;
  91. extern    int                EUROvideoMode[];
  92.  
  93. extern    short                SelectFilterTBL[];
  94. extern    short                QuestionHandle;
  95. extern    short                EuroDrawHandle;
  96. extern    short                RedrawHandle;
  97. extern    short                GrpFixHandle;
  98. extern    short                FormationHandle;
  99. extern    short                TeamHandle;
  100. extern    short                PlayerSetupHandle;
  101. extern    short                TeamSelectHandle;
  102. extern    short                TeamSetupHandle;
  103. extern    short                ReturnSqdHandle;
  104. extern    short                ReturnStatHandle;
  105. extern    short                ViewTeamHandle;
  106. extern    short                ReturnTeamHandle;
  107. extern    short                NetSelectionHandle;
  108. extern    short                NetStartHandle;
  109. extern    short                StartMatchHandle;
  110. extern    short                UserSelectTeamHandle;
  111. extern    short                StartEuro96Handle;
  112. extern    short                NoOfUsersHandle;
  113. extern    short                DefaultHandle;
  114. extern    short                NextMatchHandle;
  115. extern    short                SpinningCupHandle;
  116. extern    short                SelectTeamsHandle;
  117.  
  118. extern    char                UserHighlight;
  119. extern    char                SelectHighlight;
  120. extern    char                RedrawHighlight;
  121. extern    char                RedrawdoneHighlight;
  122. extern    char                DefaultdrawHighlight;
  123. extern    char                TeamSelectHighlight;
  124. extern    char                StartMatchHighlight;
  125. extern    char                TeamSetupHighlight;
  126. extern    char                PlyrSetupHighlight;
  127. extern    char                RetnTstatHighlight;
  128. extern    char                NextMatchHighlight;
  129. extern    char                SelectTeamsHighlight;
  130. extern    char                NetStartHighlight;
  131.  
  132. extern    char                OVERRIDEpal1;
  133. extern    char                OVERRIDEpal2;
  134.  
  135. extern    short                VersusLength;
  136. extern    Coord_info        LeaguePosnDEFN[];
  137. extern    Coord_info        WinPosnDEFN[];
  138. extern      Coord_info        DrawPosnDEFN[];
  139. extern    Coord_info        LosePosnDEFN[];
  140. extern      Coord_info        PointsPosnDEFN[];
  141. extern      Coord_info        VersusPosnDEFN[];
  142. extern    Coord_info        ReDrawPosnDEFN[];
  143. extern    Coord_info        ReDrawHeadPosnDEFN[];
  144. extern    Coord_info        QualifierHeadPosnDEFN[];
  145. extern    Coord_info        CountryOutlinePosnDEFN[];
  146. extern    Coord_info        TSTATCountryPosnDEFN[];
  147. extern    TeamSel_Info     CountryImageDEFN[];
  148. extern    header_info     GroupFixtureDEFN[];
  149. extern    dump_info        Dump_list[];
  150.  
  151. extern    char                LeaguePositions[];
  152. extern    qualify_info      qualifiers[];
  153. extern    fixture_info    Fixtures[];
  154. extern    char                MatchVenues[];
  155. extern    char                CountryTBL[];
  156. extern    char                AimTBL[];
  157. extern    char                CtrlFlags[];
  158. extern    char                PlrSetupPanelHght[];
  159. extern    char                PreviousEuroYearsTBL[];
  160. extern    char                PreviousEuroHistory[];
  161. extern    int                MouseDriverInstalled;
  162. extern    char                EUROmaxPlayers;
  163. extern    char                EUROplyrSetup;
  164. extern    char                EUROteamView;
  165. extern    char                EUROstatTeam;
  166. extern    char                EUROuserSelection;                    // player to choose his team 0 - 15
  167. extern    euro_info        EURO96setup[];                            // one entry per country.
  168. extern    char                GroupDrawCode[];
  169. extern    signed char        GroupVenues[];
  170. extern    int                NextXposn;
  171. extern    char                RunMatch;    
  172. extern    char                EUROmatchUsers;
  173.  
  174.     // ---> Frontend Vars to be linked with main game <---
  175.  
  176. extern    unsigned char    EUROcamera;
  177. extern    short                EUROaudio;
  178. extern    int                EUROcrowd;
  179. extern    int                EUROpitch;
  180. extern    int                EUROcommentary;
  181. extern    int                EUROmusic;
  182. extern    int                EUROmaster;
  183. extern    short                EUROtimeit;
  184. extern    short                EUROvidi;
  185. extern    char                EUROoffside;
  186. extern    char                EUROsubs;
  187. extern    char                EUROfouls;
  188. extern    char                EUROtime;
  189. extern    char                EURObookings;
  190. extern    char                EUROwind;
  191. extern    char                EUROref_vision;
  192. extern    char                EUROref_discipline;
  193. extern    char                EUROtga;
  194. extern    short                EUROscrSize;
  195. extern    short                EUROvenue;    
  196. extern    short                EUROsky;
  197. extern    short                EUROstadia;
  198. extern    short                EUROlineDetail;
  199. extern    short                EUROvidiType;
  200. extern    short                EUROplyrDetail;
  201. extern    short                EUROptchDetail;
  202. extern    short                EUROresoln;
  203. extern    char                EUROcontrol_methods[];
  204.  
  205.     // ---> Frontend Random number variables <---
  206.  
  207. // Randomize variables...
  208.  
  209. extern      long                 EUROseed1;
  210. extern    unsigned short EUROseed3;
  211.  
  212.     // ---> Selector Variables <---
  213.  
  214. extern    short                ButtonState;
  215. extern    short                SelectorXcoord;
  216. extern    short                SelectorYcoord;
  217. extern    short                DeBounce;
  218.  
  219.     // ---> Network / Serial / Wireplay / Modem specific variables <---
  220.  
  221. extern    char                EUROcommTYPE;            // 0 network 1 serial 2 modem 3 wireplay
  222. extern    char                EUROcommOVERIDE;
  223. extern    char                EURO_Did_I_ChooseTeams;
  224. extern    "C"    char         EUROnetInitialise;
  225. extern    char                EURO_NetSelectionMade;
  226. extern    char                UserNetList[];
  227. extern    char                TeamA_AUTOplayers;
  228. extern    char                TeamB_AUTOplayers;
  229. extern    char                EUROoveride;
  230. extern    char                ModemInitList[];
  231. extern    BYTE                *Modems[];
  232. extern    BYTE                *ModemInitStrs[];
  233. extern    int                EuroNETseed;
  234. extern    short                ModemXposn;
  235. extern    char                ModemYpage;
  236. extern    signed short     EUROmodemType;
  237. extern    char                EUROmodemDialType;
  238. extern    char                EUROmodemCommType;
  239. extern    char                DialNumber[];
  240. extern    char                InitStr[];
  241. extern    short                DialX;
  242. extern    short                InitX;
  243.  
  244.     // ---> Windows '95 variables <---
  245.  
  246. extern    int                w95;
  247.  
  248. //******************************************************************
  249.  
  250. extern    char                SquadInfo[];
  251. extern    signed char        FormationInfo[];
  252. extern    signed char        GroupDrawInfo[];
  253. extern    signed char        GroupDrawDefaultInfo[];
  254. extern    League_info        LeagueTable[16];
  255. extern    short                PlayersCaps[16*20];
  256. extern    short                PlayersGoals[16*20];
  257.  
  258. extern    char                Pace[];
  259. extern    char                Power[];
  260. extern    char                Control[];
  261. extern    char                Flair[];
  262. extern    char                Vision[];
  263. extern    char                Accuracy[];
  264. extern    char                Stamina[];
  265. extern    char                Discipline[];
  266. extern    char                Fitness[];
  267. extern    char                FitnessDefault[];
  268. extern    char                DiscPts[];
  269.  
  270. extern    user_info        UserList[];
  271. extern    signed char     UserSetupList[];
  272.  
  273. extern    char                NoOfSubs, UsableSubs;
  274. extern    char                WinPts;
  275. extern    char                DrawPts;
  276. extern    char                MatchNumber;    
  277.  
  278. extern    char                EUROday;
  279. extern    char                EUROmonth;
  280. extern    char                EUROyear;
  281. extern    char                EUROgameType;
  282.  
  283. extern    char                EUROnoOfMatchPlyrs;
  284.  
  285. extern    char                EUROteamA, EUROteamB, EUROchampTeam;
  286. extern    history_info    PastScores[];
  287. extern    results_info    Results[];
  288.  
  289. //******************************************************************
  290.  
  291. extern    char                Finish;
  292. extern    signed char        ChangeMenu;
  293.  
  294. extern    box_info            Bounding_table[];
  295. extern    char                 KeyToggle[];
  296. extern    signed     char    IsUpper[];
  297. extern    unsigned char    ToLower[];
  298. extern    unsigned char     ToUpper[];
  299. extern    unsigned char    ASCtoImageTBL[];
  300. extern    unsigned char     LegalDial[];
  301.  
  302. //******************************************************************
  303.  
  304. extern    void    Euro96initialise();
  305.  
  306.